Add DistributedCacheEventStreamStore#1136
Merged
MackinnonBuck merged 26 commits intomainfrom Feb 3, 2026
Merged
Conversation
scutuatua-crypto
approved these changes
Jan 10, 2026
stephentoub
reviewed
Jan 12, 2026
src/ModelContextProtocol.Core/Server/DistributedCacheEventStreamStore.cs
Outdated
Show resolved
Hide resolved
e01c4f4 to
80b2cb4
Compare
scutuatua-crypto
approved these changes
Jan 16, 2026
halter73
reviewed
Feb 3, 2026
Contributor
halter73
left a comment
There was a problem hiding this comment.
This looks really good. The cache structure timeout handling seems well thought out. I think stateless support for stream resumption (#1131) might be the next thing to consider for this, and I think this design should work well for that.
src/ModelContextProtocol/Server/DistributedCacheEventStreamStore.cs
Outdated
Show resolved
Hide resolved
src/ModelContextProtocol/Server/DistributedCacheEventStreamStoreOptions.cs
Outdated
Show resolved
Hide resolved
src/ModelContextProtocol/Server/DistributedCacheEventStreamStoreOptions.cs
Outdated
Show resolved
Hide resolved
src/ModelContextProtocol/Server/DistributedCacheEventStreamStore.cs
Outdated
Show resolved
Hide resolved
src/ModelContextProtocol/Server/DistributedCacheEventStreamStore.cs
Outdated
Show resolved
Hide resolved
tests/ModelContextProtocol.Tests/Server/DistributedCacheEventStreamStoreTests.cs
Outdated
Show resolved
Hide resolved
scutuatua-crypto
approved these changes
Feb 3, 2026
…reOptions.cs Co-authored-by: Stephen Halter <halter73@gmail.com>
…re.cs Co-authored-by: Stephen Halter <halter73@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces a new distributed cache-backed implementation for
ISseEventStreamStore.Follow-up to #510